package com.leapp.sk.ui.activity.notify

import android.os.Bundle
import com.example.mvp.activity.BaseActivityMVP
import com.example.mvp.binder.BaseDataBinder
import com.example.util.finallist.CLASS_NOTIFY_DATA
import com.leapp.sk.R
import com.leapp.sk.bean.ParentClassNotifyEntity
import com.leapp.sk.binder.BaseBinder
import com.leapp.sk.viewdelegate.notify.ClassNotifyDetialDelegate

/**
 * 班级通知详情
 * @author  chaohaipeng  on 2018/8/2.
 */
class ClasaNotifyDetialActivity:BaseActivityMVP<ClassNotifyDetialDelegate>(){
  private  var classData: ParentClassNotifyEntity?=null
    override fun initView(p0: Bundle?) {
        viewDelegate.setTitle(resources.getString(R.string.string_notify_class_notify))
        if (classData!=null){

        }
    }

    override fun initDate() {
        try {
            classData= intent?.getSerializableExtra(CLASS_NOTIFY_DATA) as ParentClassNotifyEntity?
        }catch (e:Exception){

        }


    }

    override fun bindEvenListener() {
    }
    override fun getDelegateClass(): Class<ClassNotifyDetialDelegate> {
        return ClassNotifyDetialDelegate::class.java
    }
    override fun getDataBinder(): BaseDataBinder<*, *> {
        return BaseBinder()
    }
}